package org.cug.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.cug.pojo.UndergraduateInstruction;

import java.util.List;

@Mapper
public interface UndergraduateInstructionMapper {

    public void insert(UndergraduateInstruction undergraduate);

    void delete(@Param("ids") List<Integer> ids);

    UndergraduateInstruction selectid(Integer id);

    void update(UndergraduateInstruction undergraduate);

    List<UndergraduateInstruction> list(@Param("ids") List<Integer> userId, Short semester);



    List<UndergraduateInstruction> listall(Short semester);
}
